<?php

namespace app\api\home;

use app\common\controller\Common;

class Base extends Common
{
    protected function checkReferer()
    {
        if (get_referer_domian() != get_domain(false, false)) {
            return false;
        }

        return true;
    }
}
